from django import forms
from .models import User


class SigninForm(forms.ModelForm):
    telphone = forms.CharField(max_length=11, min_length=11)    # TODO: 手机号
    remember = forms.BooleanField(required=False)   # TODO: 记住我

    class Meta:
        model = User
        fields = ['password']
